Automattic\WooCommerce\StoreApi\Schemas\V1\AbstractSchema S

Total Complexity 38
Dependencies 3
Dependents 1
Total lines 377
Lines of code 192
Logical lines of code 74
Comment lines 141
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
get_recursive_validate_callback()
A
53 8 21
get_recursive_sanitize_callback()
S
52 7 24
get_recursive_schema_property_defaults()
S
62 4 11
get_store_currency_properties()
S
47 1 46
remove_arg_options()
S
60 3 14
force_schema_readonly()
S
62 2 12
get_public_item_schema()
S
69 2 7
get_item_responses_from_schema()
S
68 2 7
get_extended_schema()
S
60 1 14
prepare_money_response()
S
66 1 9
prepare_currency_response()
S
80 1 3
__construct()
S
77 1 4
get_endpoint_args_for_item_schema()
S
70 1 6
get_item_schema()
S
67 1 8
get_extended_data()
S
79 1 3
get_properties()
S
100 1 0
prepare_html_response()
S
80 1 3